home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / infosrvr / dev / tkwww_0_.pat < prev    next >
Text File  |  1993-12-13  |  32KB  |  1,112 lines

  1. diff -c WWW/TkWWW/Makefile.in:1.1 WWW/TkWWW/Makefile.in:1.3
  2. *** WWW/TkWWW/Makefile.in:1.1    Mon Dec 13 20:06:09 1993
  3. --- WWW/TkWWW/Makefile.in    Mon Dec 13 20:06:09 1993
  4. ***************
  5. *** 1,5 ****
  6. ! # Master Makefile for the GNU file utilities.
  7. ! # Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
  8.   
  9.   # This program is free software; you can redistribute it and/or modify
  10.   # it under the terms of the GNU General Public License as published by
  11. --- 1,4 ----
  12. ! # Master Makefile for tkWWW
  13.   
  14.   # This program is free software; you can redistribute it and/or modify
  15.   # it under the terms of the GNU General Public License as published by
  16. ***************
  17. *** 20,32 ****
  18.   srcdir = @srcdir@
  19.   VPATH = @srcdir@
  20.   
  21. - # If you use gcc, you should either run the fixincludes script that
  22. - # comes with it or else use gcc with the -traditional option.  Otherwise
  23. - # ioctl calls will be compiled incorrectly on some systems.
  24.   CC = @CC@
  25.   CPP = @CPP@
  26.   AR = ar
  27. - # Set RANLIB = echo if your system doesn't have or need ranlib.
  28.   RANLIB = @RANLIB@
  29.   
  30.   DEFS = @DEFS@
  31. --- 19,30 ----
  32.   srcdir = @srcdir@
  33.   VPATH = @srcdir@
  34.   
  35.   CC = @CC@
  36. + INSTALL = @INSTALL@
  37. + INSTALL_PROGRAM = @INSTALL_PROGRAM@
  38.   CPP = @CPP@
  39.   AR = ar
  40.   RANLIB = @RANLIB@
  41.   
  42.   DEFS = @DEFS@
  43. ***************
  44. *** 89,96 ****
  45.       -DCPP_TK_WWW_MAIL=@TK_WWW_MAIL@ \
  46.       -DCPP_TK_WWW_TK_CMD=$(bindir)/@tk_www_tk_executable@
  47.   
  48. ! Tcl/tkWWW::  Tcl/tkWWW.cpp
  49. !     $(CPP) $(CPP_DEFINES) - < Tcl/tkWWW.cpp | \
  50.           sed -e '/^#  *[0-9][0-9]*  *.*$$/d' \
  51.               -e '/^XCOMM$$/s//#/' \
  52.               -e '/^XCOMM[^a-zA-Z0-9_]/s/^XCOMM/#/' >$@
  53. --- 87,94 ----
  54.       -DCPP_TK_WWW_MAIL=@TK_WWW_MAIL@ \
  55.       -DCPP_TK_WWW_TK_CMD=$(bindir)/@tk_www_tk_executable@
  56.   
  57. ! $(srcdir)/Tcl/tkWWW::  $(srcdir)/Tcl/tkWWW.cpp
  58. !     $(CPP) $(CPP_DEFINES) - < $(srcdir)/Tcl/tkWWW.cpp | \
  59.           sed -e '/^#  *[0-9][0-9]*  *.*$$/d' \
  60.               -e '/^XCOMM$$/s//#/' \
  61.               -e '/^XCOMM[^a-zA-Z0-9_]/s/^XCOMM/#/' >$@
  62. ***************
  63. *** 103,126 ****
  64.   check:
  65.   installcheck:
  66.   
  67. ! Makefile: config.status $(srcdir)/Makefile.in $(srcdir)/lib/Makefile.in \
  68. !         $(srcdir)/man/Makefile.in $(srcdir)/src/Makefile.in
  69.       $(SHELL) config.status
  70.   
  71.   # Make sure all installation directories, e.g. $(bindir) actually exist by
  72.   # making them if necessary.
  73.   installdirs:
  74.       $(SHELL) $(srcdir)/mkinstalldirs \
  75.         $(bindir) $(datadir) $(libdir) $(infodir) $(mandir)
  76.   
  77. ! install:: installdirs
  78.   
  79. ! install uninstall TAGS clean mostlyclean distclean realclean::
  80.       for dir in $(SUBDIRS); do \
  81.         echo making $@ in $$dir ; \
  82.         (cd $$dir; $(MAKE) $(MDEFINES) $@) ; \
  83.       done
  84.   
  85.   distclean realclean::
  86.       rm -f Makefile config.status
  87.   
  88. --- 101,134 ----
  89.   check:
  90.   installcheck:
  91.   
  92. ! Makefile: config.status $(srcdir)/Makefile.in $(srcdir)/Server/Makefile.in \
  93. !         $(srcdir)/Library/Makefile.in
  94.       $(SHELL) config.status
  95.   
  96.   # Make sure all installation directories, e.g. $(bindir) actually exist by
  97.   # making them if necessary.
  98.   installdirs:
  99.       $(SHELL) $(srcdir)/mkinstalldirs \
  100.         $(bindir) $(datadir) $(libdir) $(infodir) $(mandir)
  101.   
  102. ! install:: installdirs  $(srcdir)/Tcl/tkWWW
  103. !     for dir in $(SUBDIRS); do \
  104. !       echo making $@ in $$dir ; \
  105. !       (cd $$dir; $(MAKE) $(MDEFINES) $@) ; \
  106. !     done
  107. !     $(INSTALL_PROGRAM) $(srcdir)/Tcl/tkWWW $(bindir)/tkWWW
  108.   
  109. ! uninstall TAGS clean mostlyclean distclean realclean::
  110.       for dir in $(SUBDIRS); do \
  111.         echo making $@ in $$dir ; \
  112.         (cd $$dir; $(MAKE) $(MDEFINES) $@) ; \
  113.       done
  114.   
  115. + clean::
  116. +     rm -f $(srcdir)/Tcl/tkWWW
  117.   distclean realclean::
  118.       rm -f Makefile config.status
  119.   
  120. ***************
  121. *** 142,156 ****
  122.   
  123.   # Prevent GNU make v3 from overflowing arg limit on SysV.
  124.   .NOEXPORT:
  125. - .cpp.tcl:
  126. -     $(CPP) $(CPP_DEFINES) - < $< | \
  127. -         sed -e '/^#  *[0-9][0-9]*  *.*$$/d' \
  128. -             -e '/^XCOMM$$/s//#/' \
  129. -             -e '/^XCOMM[^a-zA-Z0-9_]/s/^XCOMM/#/' >$@
  130. - clean::
  131. -     rm -f $(TK_WWW_PROCESS_CODE) tkWWW
  132. - install:: tkWWW.script
  133. -     $(INSTALL) -c $(INSTSCRFLAGS) tkWWW.script $(BINDIR)/tkWWW
  134. --- 150,152 ----
  135. diff -c WWW/TkWWW/README.txt:1.12 WWW/TkWWW/README.txt:1.13
  136. *** WWW/TkWWW/README.txt:1.12    Mon Dec 13 20:06:10 1993
  137. --- WWW/TkWWW/README.txt    Mon Dec 13 20:06:10 1993
  138. ***************
  139. *** 1,4 ****
  140. ! tkWWW Version 0.9 beta (joe@athena.mit.edu)
  141.   --------------------------------------------
  142.   WHAT IS THIS?
  143.   -------------
  144. --- 1,4 ----
  145. ! tkWWW Version 0.10 beta (joe@athena.mit.edu)
  146.   --------------------------------------------
  147.   WHAT IS THIS?
  148.   -------------
  149. ***************
  150. *** 14,29 ****
  151.   Since the entire user interface is written in an interpreted language,
  152.   it is very easy to make modifications and extensions to the system.
  153.   tkWWW is the first X11 browser with the ability to edit HTML!!!!!
  154. - What has changed since 0.8?
  155. - ---------------------------
  156. - * Much better editing user interface 
  157. -   Thanks to creilly@maths.tcd.ie and jay@bogle.eitech.com
  158. - * Recognition of character style tags
  159. - * Partial support for IMAGE tags
  160. - * Compatibility with TCL 7.0
  161. - * Compatibility with old HTTP servers
  162.   
  163.   To Install
  164.   ----------
  165. --- 14,19 ----
  166. diff -c WWW/TkWWW/configure:1.2 WWW/TkWWW/configure:1.4
  167. *** WWW/TkWWW/configure:1.2    Mon Dec 13 20:06:11 1993
  168. --- WWW/TkWWW/configure    Mon Dec 13 20:06:11 1993
  169. ***************
  170. *** 142,147 ****
  171. --- 142,163 ----
  172.   tk_www_start_page=$tk_www_home_page
  173.   
  174.   
  175. + if test -z "$prefix"
  176. + then
  177. +   echo checking for wish to derive installation directory prefix
  178. +   IFS="${IFS=     }"; saveifs="$IFS"; IFS="$IFS:"
  179. +   for dir in $PATH; do
  180. +     test -z "$dir" && dir=.
  181. +     if test $dir != . && test -f $dir/wish; then
  182. +       # Not all systems have dirname.
  183. +       prefix=`echo $dir|sed 's%/[^/][^/]*$%%'`
  184. +       break
  185. +     fi
  186. +   done
  187. +   IFS="$saveifs"
  188. +   echo "    chose installation directory prefix ${prefix}"
  189. + fi
  190.   if test -z "$CC"; then
  191.     # Extract the first word of `gcc', so it can be a program name with args.
  192.     set dummy gcc; word=$2
  193. ***************
  194. *** 280,286 ****
  195.   # Run xmkmf to check for location of X libraries and includes
  196.   #
  197.   
  198. ! # If we find X, set shell vars x_includes and x_libraries to the paths.
  199.   no_x=true
  200.   echo checking for X include and library files with xmkmf
  201.   rm -fr conftestdir
  202. --- 296,320 ----
  203.   # Run xmkmf to check for location of X libraries and includes
  204.   #
  205.   
  206. ! if test -z "$tk_ok"; then
  207. !   # Extract the first word of `xmkmf', so it can be a program name with args.
  208. !   set dummy xmkmf; word=$2
  209. !   echo checking for $word
  210. !   IFS="${IFS=     }"; saveifs="$IFS"; IFS="${IFS}:"
  211. !   for dir in $PATH; do
  212. !     test -z "$dir" && dir=.
  213. !     if test -f $dir/$word; then
  214. !       tk_ok="1"
  215. !       break
  216. !     fi
  217. !   done
  218. !   IFS="$saveifs"
  219. ! fi
  220. ! test -z "$tk_ok" && tk_ok="0"
  221. ! test -n "$tk_ok" && test -n "$verbose" && echo "    setting tk_ok to $tk_ok"
  222. ! if test $tk_ok = 1; then
  223. !     # If we find X, set shell vars x_includes and x_libraries to the paths.
  224.   no_x=true
  225.   echo checking for X include and library files with xmkmf
  226.   rm -fr conftestdir
  227. ***************
  228. *** 395,405 ****
  229. --- 429,540 ----
  230.     test -n "$x_includes" && echo "    found X11 headers in $x_includes"
  231.     test -n "$x_libraries" && echo "    found X11 libraries in $x_libraries"
  232.   fi
  233. + fi
  234. + if test "$x_includes" = /usr/include; then
  235. +     XINCLUDES="# no special path needed"
  236. + elif test "$x_includes" != ""; then
  237. +     XINCLUDES=" -I$x_includes"
  238. + else
  239. +     echo checking for X11 header files
  240. +     XINCLUDES="# no special path needed"
  241. +     cat > conftest.c <<EOF
  242. + #include "confdefs.h"
  243. + #include <X11/Intrinsic.h>
  244. + EOF
  245. + err=`eval "($CPP conftest.c >/dev/null) 2>&1"`
  246. + if test -z "$err"; then
  247. +   :
  248. + else
  249. +   rm -rf conftest*
  250. +   XINCLUDES="nope"
  251. + fi
  252. + rm -f conftest*
  253. +     if test "$XINCLUDES" = nope; then
  254. +         dirs=${XINCLUDE_DIR-"/usr/unsupported/include /usr/local/include /usr/X386/include /usr/include/X11R4 /usr/X11R5/include /usr/include/X11R5 /usr/openwin/include /usr/X11/include"}
  255. +         for i in $dirs ; do
  256. +         if test -r $i/X11/Intrinsic.h; then
  257. +             XINCLUDES=" -I$i"
  258. +         fi
  259. +         done
  260. +     fi
  261. + fi
  262. + if test "$XINCLUDES" = nope; then
  263. +   echo "Warning:  couldn't find any X11 include files."
  264. +   XINCLUDES="# no include files found"
  265. + fi
  266.   
  267.   
  268. + if test "$x_libraries" = /usr/lib; then
  269. +     XLIBSW=-lX11
  270. + elif test "$x_libraries" != ""; then
  271. +     XLIBSW="-L$x_libraries -lX11"
  272. + else
  273. +     echo "checking for X11 library archive"
  274. +     LIBS_save="${LIBS}"
  275. + LIBS="${LIBS} -lX11"
  276. + have_lib=""
  277. + echo checking for -lX11
  278. + cat > conftest.c <<EOF
  279. + #include "confdefs.h"
  280.   
  281. + int main() { exit(0); }
  282. + int t() { main(); }
  283. + EOF
  284. + if eval $compile; then
  285. +   rm -rf conftest*
  286. +   have_lib="1"
  287.   
  288. + fi
  289. + rm -f conftest*
  290. + LIBS="${LIBS_save}"
  291. + if test -n "${have_lib}"; then
  292. +    :; XLIBSW="-lX11"
  293. + else
  294. +    :; XLIBSW=nope
  295. + fi
  296.   
  297. +     if test "$XLIBSW" = nope; then
  298. +     dirs=${XLIBRARY_DIR-"/usr/unsupported/lib /usr/local/lib /usr/X386/lib /usr/lib/X11R4 /usr/X11R5/lib /usr/lib/X11R5 /usr/openwin/lib /usr/X11/lib"}
  299. +     for i in $dirs ; do
  300. +         if test -r $i/libX11.a; then
  301. +         XLIBSW="-L$i -lX11"
  302. +         fi
  303. +     done
  304. +     fi
  305. + fi
  306. + if test "$XLIBSW" = nope ; then
  307. +     LIBS_save="${LIBS}"
  308. + LIBS="${LIBS} -lXwindow"
  309. + have_lib=""
  310. + echo checking for -lXwindow
  311. + cat > conftest.c <<EOF
  312. + #include "confdefs.h"
  313. + int main() { exit(0); }
  314. + int t() { main(); }
  315. + EOF
  316. + if eval $compile; then
  317. +   rm -rf conftest*
  318. +   have_lib="1"
  319. + fi
  320. + rm -f conftest*
  321. + LIBS="${LIBS_save}"
  322. + if test -n "${have_lib}"; then
  323. +    :; XLIBSW=-lXwindow
  324. + else
  325. +    :; 
  326. + fi
  327. + fi
  328. + if test "$XLIBSW" = nope ; then
  329. +     echo "Warning:  couldn't find the X11 library archive.  Using -lX11."
  330. +     XLIBSW=-lX11
  331. + fi
  332.   #
  333.   # This is to substitute extra paths that 
  334.   #
  335. ***************
  336. *** 601,629 ****
  337.   #
  338.   
  339.   LIBS_save="${LIBS}"
  340. - LIBS="${LIBS} -lbsdmalloc"
  341. - have_lib=""
  342. - echo checking for -lbsdmalloc
  343. - cat > conftest.c <<EOF
  344. - #include "confdefs.h"
  345. - int main() { exit(0); }
  346. - int t() { main(); }
  347. - EOF
  348. - if eval $compile; then
  349. -   rm -rf conftest*
  350. -   have_lib="1"
  351. - fi
  352. - rm -f conftest*
  353. - LIBS="${LIBS_save}"
  354. - if test -n "${have_lib}"; then
  355. -    :; LIBS="$LIBS -lbsdmalloc"
  356. - else
  357. -    :; 
  358. - fi
  359. - LIBS_save="${LIBS}"
  360.   LIBS="${LIBS} -lelf"
  361.   have_lib=""
  362.   echo checking for -lelf
  363. --- 736,741 ----
  364. ***************
  365. *** 743,750 ****
  366.   CPP='$CPP'
  367.   RANLIB='$RANLIB'
  368.   TK_WWW_MAIL='$TK_WWW_MAIL'
  369. ! x_includes='$x_includes'
  370. ! x_libraries='$x_libraries'
  371.   tk_www_extra_path='$tk_www_extra_path'
  372.   tk_www_tk_executable='$tk_www_tk_executable'
  373.   TCL_INCDIR='$TCL_INCDIR'
  374. --- 855,863 ----
  375.   CPP='$CPP'
  376.   RANLIB='$RANLIB'
  377.   TK_WWW_MAIL='$TK_WWW_MAIL'
  378. ! tk_ok='$tk_ok'
  379. ! XINCLUDES='$XINCLUDES'
  380. ! XLIBSW='$XLIBSW'
  381.   tk_www_extra_path='$tk_www_extra_path'
  382.   tk_www_tk_executable='$tk_www_tk_executable'
  383.   TCL_INCDIR='$TCL_INCDIR'
  384. ***************
  385. *** 787,794 ****
  386.   s%@CPP@%$CPP%g
  387.   s%@RANLIB@%$RANLIB%g
  388.   s%@TK_WWW_MAIL@%$TK_WWW_MAIL%g
  389. ! s%@x_includes@%$x_includes%g
  390. ! s%@x_libraries@%$x_libraries%g
  391.   s%@tk_www_extra_path@%$tk_www_extra_path%g
  392.   s%@tk_www_tk_executable@%$tk_www_tk_executable%g
  393.   s%@TCL_INCDIR@%$TCL_INCDIR%g
  394. --- 900,908 ----
  395.   s%@CPP@%$CPP%g
  396.   s%@RANLIB@%$RANLIB%g
  397.   s%@TK_WWW_MAIL@%$TK_WWW_MAIL%g
  398. ! s%@tk_ok@%$tk_ok%g
  399. ! s%@XINCLUDES@%$XINCLUDES%g
  400. ! s%@XLIBSW@%$XLIBSW%g
  401.   s%@tk_www_extra_path@%$tk_www_extra_path%g
  402.   s%@tk_www_tk_executable@%$tk_www_tk_executable%g
  403.   s%@TCL_INCDIR@%$TCL_INCDIR%g
  404. ***************
  405. *** 806,817 ****
  406.   EOF
  407.   chmod +x config.status
  408.   ${CONFIG_SHELL-/bin/sh} config.status
  409.   
  410. --- 920,923 ----
  411. diff -c WWW/TkWWW/configure.in:1.2 WWW/TkWWW/configure.in:1.4
  412. *** WWW/TkWWW/configure.in:1.2    Mon Dec 13 20:06:12 1993
  413. --- WWW/TkWWW/configure.in    Mon Dec 13 20:06:12 1993
  414. ***************
  415. *** 15,20 ****
  416. --- 15,22 ----
  417.   tk_www_start_page=$tk_www_home_page
  418.   AC_SUBST(tk_www_start_page)
  419.   
  420. + dnl Guess prefix
  421. + AC_PREFIX(wish)
  422.   AC_PROG_CC
  423.   AC_PROG_INSTALL
  424.   AC_PROG_CPP
  425. ***************
  426. *** 30,39 ****
  427.   # Run xmkmf to check for location of X libraries and includes
  428.   #
  429.   
  430. ! AC_FIND_X
  431. ! AC_SUBST(x_includes)
  432. ! AC_SUBST(x_libraries)
  433.   
  434.   define(AC_FIND_PROG_PATH,
  435.   [echo checking for path of $1
  436.     IFS="${IFS=     }"; saveifs="$IFS"; IFS="$IFS:"
  437. --- 32,89 ----
  438.   # Run xmkmf to check for location of X libraries and includes
  439.   #
  440.   
  441. ! AC_PROGRAM_CHECK(tk_ok, xmkmf, 1, 0)
  442. ! if test $tk_ok = 1; then
  443. !     AC_FIND_X
  444. ! fi
  445. ! if test "$x_includes" = /usr/include; then
  446. !     XINCLUDES="# no special path needed"
  447. ! elif test "$x_includes" != ""; then
  448. !     XINCLUDES=" -I$x_includes"
  449. ! else
  450. !     echo checking for X11 header files
  451. !     XINCLUDES="# no special path needed"
  452. !     AC_TEST_CPP([#include <X11/Intrinsic.h>], , XINCLUDES="nope")
  453. !     if test "$XINCLUDES" = nope; then
  454. !         dirs=${XINCLUDE_DIR-"/usr/unsupported/include /usr/local/include /usr/X386/include /usr/include/X11R4 /usr/X11R5/include /usr/include/X11R5 /usr/openwin/include /usr/X11/include"}
  455. !         for i in $dirs ; do
  456. !         if test -r $i/X11/Intrinsic.h; then
  457. !             XINCLUDES=" -I$i"
  458. !         fi
  459. !         done
  460. !     fi
  461. ! fi
  462. ! if test "$XINCLUDES" = nope; then
  463. !   echo "Warning:  couldn't find any X11 include files."
  464. !   XINCLUDES="# no include files found"
  465. ! fi
  466. ! AC_SUBST(XINCLUDES)
  467.   
  468. + if test "$x_libraries" = /usr/lib; then
  469. +     XLIBSW=-lX11
  470. + elif test "$x_libraries" != ""; then
  471. +     XLIBSW="-L$x_libraries -lX11"
  472. + else
  473. +     echo "checking for X11 library archive"
  474. +     AC_HAVE_LIBRARY(X11, XLIBSW="-lX11", XLIBSW=nope)
  475. +     if test "$XLIBSW" = nope; then
  476. +     dirs=${XLIBRARY_DIR-"/usr/unsupported/lib /usr/local/lib /usr/X386/lib /usr/lib/X11R4 /usr/X11R5/lib /usr/lib/X11R5 /usr/openwin/lib /usr/X11/lib"}
  477. +     for i in $dirs ; do
  478. +         if test -r $i/libX11.a; then
  479. +         XLIBSW="-L$i -lX11"
  480. +         fi
  481. +     done
  482. +     fi
  483. + fi
  484. + if test "$XLIBSW" = nope ; then
  485. +     AC_HAVE_LIBRARY(Xwindow, XLIBSW=-lXwindow)
  486. + fi
  487. + if test "$XLIBSW" = nope ; then
  488. +     echo "Warning:  couldn't find the X11 library archive.  Using -lX11."
  489. +     XLIBSW=-lX11
  490. + fi
  491. + AC_SUBST(XLIBSW)
  492.   define(AC_FIND_PROG_PATH,
  493.   [echo checking for path of $1
  494.     IFS="${IFS=     }"; saveifs="$IFS"; IFS="$IFS:"
  495. ***************
  496. *** 174,190 ****
  497.   # Add special libraries for solaris
  498.   #
  499.   
  500. - AC_HAVE_LIBRARY(bsdmalloc, [LIBS="$LIBS -lbsdmalloc"])
  501.   AC_HAVE_LIBRARY(elf, [LIBS="$LIBS -lelf"])
  502.   AC_HAVE_LIBRARY(socket, [LIBS="$LIBS -lsocket"])
  503.   AC_HAVE_LIBRARY(nsl, [LIBS="$LIBS -lnsl"])
  504.   
  505.   AC_OUTPUT(Makefile Server/Makefile Library/Makefile)
  506. --- 224,231 ----
  507. diff -c /dev/null WWW/TkWWW/mkinstalldirs:1.1
  508. *** /dev/null    Mon Dec 13 20:06:12 1993
  509. --- WWW/TkWWW/mkinstalldirs    Mon Dec 13 20:06:12 1993
  510. ***************
  511. *** 0 ****
  512. --- 1,35 ----
  513. + #!/bin/sh
  514. + # Make directory hierarchy. 
  515. + # Written by Noah Friedman <friedman@prep.ai.mit.edu>
  516. + # Public domain.
  517. + defaultIFS='     
  518. + '
  519. + IFS="${IFS-${defaultIFS}}"
  520. + errstatus=0
  521. + for file in ${1+"$@"} ; do 
  522. +    oIFS="${IFS}"
  523. +    # Some sh's can't handle IFS=/ for some reason.
  524. +    IFS='%'
  525. +    set - `echo ${file} | sed -e 's@/@%@g' -e 's@^%@/@'`
  526. +    IFS="${oIFS}"
  527. +    pathcomp=''
  528. +    for d in ${1+"$@"} ; do
  529. +      pathcomp="${pathcomp}${d}"
  530. +      if test ! -d "${pathcomp}"; then
  531. +         echo "mkdir $pathcomp" 1>&2
  532. +         mkdir "${pathcomp}" || errstatus=$?
  533. +      fi
  534. +      pathcomp="${pathcomp}/"
  535. +    done
  536. + done
  537. + exit $errstatus
  538. + # eof
  539. diff -c WWW/TkWWW/Library/Makefile.in:1.1 WWW/TkWWW/Library/Makefile.in:1.2
  540. *** WWW/TkWWW/Library/Makefile.in:1.1    Mon Dec 13 20:06:22 1993
  541. --- WWW/TkWWW/Library/Makefile.in    Mon Dec 13 20:06:22 1993
  542. ***************
  543. *** 171,181 ****
  544.   
  545.   #    Install W3 library into system space (not normally necessary)
  546.   
  547. ! install : libwww.a
  548.       if [ ! -r $(LIBDIR) ] mkdir $(LIBDIR)
  549.       cp libwww.a $(LIBDIR)/libwww.a
  550.       
  551. ! uninstall :
  552.       $(RM) $(LIBDIR)/libwww.a
  553.   
  554.   #        Distribution use only:
  555. --- 171,183 ----
  556.   
  557.   #    Install W3 library into system space (not normally necessary)
  558.   
  559. ! install: 
  560. ! installlib : libwww.a
  561.       if [ ! -r $(LIBDIR) ] mkdir $(LIBDIR)
  562.       cp libwww.a $(LIBDIR)/libwww.a
  563.       
  564. ! uninstalllib :
  565.       $(RM) $(LIBDIR)/libwww.a
  566.   
  567.   #        Distribution use only:
  568. diff -c WWW/TkWWW/Server/HText.c:1.2 WWW/TkWWW/Server/HText.c:1.3
  569. *** WWW/TkWWW/Server/HText.c:1.2    Mon Dec 13 20:06:26 1993
  570. --- WWW/TkWWW/Server/HText.c    Mon Dec 13 20:06:26 1993
  571. ***************
  572. *** 131,137 ****
  573.       char *cmd_start;
  574.       cmd_start = text->output->data + text->execute_pointer;
  575.   
  576. !     text->output->data[text->output->size] = '\0';
  577.       if (Tcl_CommandComplete(cmd_start)) {
  578.         text->execute_pointer = text->output->size;
  579.         value = Tcl_Eval(HtTclInterp, cmd_start);
  580. --- 131,139 ----
  581.       char *cmd_start;
  582.       cmd_start = text->output->data + text->execute_pointer;
  583.   
  584. !     /* never access directly, it crash when chunk is just full 
  585. !        use that instead :                     -- dl           */
  586. !     HTChunkPutc(text->output,0) ;
  587.       if (Tcl_CommandComplete(cmd_start)) {
  588.         text->execute_pointer = text->output->size;
  589.         value = Tcl_Eval(HtTclInterp, cmd_start);
  590. diff -c WWW/TkWWW/Server/Makefile.in:1.1 WWW/TkWWW/Server/Makefile.in:1.2
  591. *** WWW/TkWWW/Server/Makefile.in:1.1    Mon Dec 13 20:06:27 1993
  592. --- WWW/TkWWW/Server/Makefile.in    Mon Dec 13 20:06:27 1993
  593. ***************
  594. *** 20,35 ****
  595.   # Where to install the executable.
  596.   bindir = $(exec_prefix)/bin
  597.   
  598. ! INCLUDES = -I. \
  599. !     -I@TCL_INCDIR@    -I@TK_INCDIR@ \
  600. !     -I@x_includes@ -I../../Library/Implementation
  601.   
  602.   CFLAGS= $(CDEBUGFLAGS) $(DEFINES) $(INCLUDES)
  603.   
  604. ! LIBS=../Library/libwww.a \
  605. !     -L@x_libraries@ -lX11 \
  606. !     -L@TK_LIBDIR@ -ltk \
  607. !     -L@TCL_LIBDIR@ -ltcl @LIBS@ -lX11 -lm
  608.   
  609.   TEST_LIBS=@TCL_LIBDIR@ -ltcl -lm
  610.   
  611. --- 20,36 ----
  612.   # Where to install the executable.
  613.   bindir = $(exec_prefix)/bin
  614.   
  615. ! XINCLUDES = @XINCLUDES@
  616. ! XLIBSW = @XLIBSW@
  617.   
  618. + INCLUDES = -I. -I@TCL_INCDIR@    -I@TK_INCDIR@ \
  619. +     $(XINCLUDES) -I../../Library/Implementation
  620.   CFLAGS= $(CDEBUGFLAGS) $(DEFINES) $(INCLUDES)
  621.   
  622. ! LIBS=../Library/libwww.a -L@TK_LIBDIR@ -ltk -L@TCL_LIBDIR@ -ltcl \
  623. !     $(XLIBSW) @LIBS@ -lm
  624.   
  625.   TEST_LIBS=@TCL_LIBDIR@ -ltcl -lm
  626.   
  627. diff -c WWW/TkWWW/Tcl/bookmarks.tcl:1.14 WWW/TkWWW/Tcl/bookmarks.tcl:1.15
  628. *** WWW/TkWWW/Tcl/bookmarks.tcl:1.14    Mon Dec 13 20:06:34 1993
  629. --- WWW/TkWWW/Tcl/bookmarks.tcl    Mon Dec 13 20:06:35 1993
  630. ***************
  631. *** 36,41 ****
  632. --- 36,42 ----
  633.       tkW3OutputMakeButtons $w.button_frame {
  634.       {current "Add current" "tkW3BookmarksAdd"}
  635.       {goto "Go To" "tkW3BookmarksGotoSelected"}
  636. +     {clone "Clone" "tkW3BookmarksGotoSelected 1"}
  637.       {remove "Remove" "tkW3BookmarksDeleteSelected"}
  638.       {edit "Edit Title" "tkW3BookmarksEditTitle"}
  639.       }
  640. ***************
  641. *** 54,67 ****
  642.   %W select from \[%W nearest %y\]
  643.   tkW3BookmarksGotoSelected"
  644.   
  645.       DLG:show $parent $w
  646.   }
  647.   
  648. ! proc tkW3BookmarksGotoSelected {} {
  649.       global tkW3Bookmarks
  650. !     tkW3NavigateRecordAndGoto [ \
  651.          lindex [lindex $tkW3Bookmarks(list) \
  652.              [DLG:get_listbox_highlighted .bookmarks]] 1]
  653.   }
  654.   
  655.   proc tkW3BookmarksDeleteSelected {} {
  656. --- 55,78 ----
  657.   %W select from \[%W nearest %y\]
  658.   tkW3BookmarksGotoSelected"
  659.   
  660. +     bind $w.list <Double-2> "$w.button_frame.clone flash
  661. + %W select from \[%W nearest %y\]
  662. + tkW3BookmarksGotoSelected 1"
  663.       DLG:show $parent $w
  664.   }
  665.   
  666. ! proc tkW3BookmarksGotoSelected {{clone 0}} {
  667.       global tkW3Bookmarks
  668. !     set address  [ \
  669.          lindex [lindex $tkW3Bookmarks(list) \
  670.              [DLG:get_listbox_highlighted .bookmarks]] 1]
  671. +     
  672. +     if {$clone} {
  673. +     tkW3NavigateClone $address
  674. +     } {
  675. +     tkW3NavigateRecordAndGoto $address
  676. +     }
  677.   }
  678.   
  679.   proc tkW3BookmarksDeleteSelected {} {
  680. ***************
  681. *** 72,78 ****
  682. --- 83,109 ----
  683.       tkW3BookmarksSave
  684.   }
  685.   
  686. + proc tkW3BookmarksEditTitle {} {
  687. +     global tkW3Bookmarks
  688. +     set i [DLG:get_listbox_highlighted .bookmarks]
  689. +     set title [lindex [lindex $tkW3Bookmarks(list) $i] 0]
  690.   
  691. +     DLG:entry . .edit_dialog "Bookmark title" \
  692. +     {"Title:"} "Edit" "tkW3BookmarksDoEditTitle $i"
  693. +     DLG:set_entry_value .edit_dialog 1 $title
  694. +     DLG:show . .edit_dialog
  695. + }
  696. + proc tkW3BookmarksDoEditTitle {i title} {
  697. +     global tkW3Bookmarks
  698. +     set address [lindex [lindex $tkW3Bookmarks(list) $i] 1]
  699. +     set tkW3Bookmarks(list) \
  700. +     [lreplace $tkW3Bookmarks(list) $i $i [list $title $address]]
  701. +     .bookmarks.list delete $i
  702. +     .bookmarks.list insert $i $title
  703. +     tkW3BookmarksSave
  704. + }
  705.   ## tkW3BookmarksAdd: Add a bookmark
  706.   ## -----------
  707.   ## Arguments
  708. ***************
  709. *** 96,105 ****
  710.       if {[winfo exists .bookmarks.list]} {
  711.       .bookmarks.list insert end $title
  712.       }
  713. - }
  714. - proc tkW3BookmarksDelete {} {
  715. -     tkW3HelpNotAvailable
  716.   }
  717.   
  718.   # Load bookmarks from file
  719. --- 127,132 ----
  720. diff -c WWW/TkWWW/Tcl/edit.generate.tcl:1.2 WWW/TkWWW/Tcl/edit.generate.tcl:1.3
  721. *** WWW/TkWWW/Tcl/edit.generate.tcl:1.2    Mon Dec 13 20:06:35 1993
  722. --- WWW/TkWWW/Tcl/edit.generate.tcl    Mon Dec 13 20:06:35 1993
  723. ***************
  724. *** 67,73 ****
  725.       tkW3EditConvertLineItems $w     
  726.       set delimit_tags {
  727.       {ADDRESS "\n<ADDRESS>" "\n</ADDRESS>"}
  728. !     {PRE "<PRE>\n" "</PRE>\n"}
  729.       {CODE "<CODE>" "</CODE>"}
  730.       {TT "<TT>" "</TT>"}
  731.       {B "<B>" "</B>"}
  732. --- 67,73 ----
  733.       tkW3EditConvertLineItems $w     
  734.       set delimit_tags {
  735.       {ADDRESS "\n<ADDRESS>" "\n</ADDRESS>"}
  736. !     {PRE "\n<PRE>" "\n</PRE>"}
  737.       {CODE "<CODE>" "</CODE>"}
  738.       {TT "<TT>" "</TT>"}
  739.       {B "<B>" "</B>"}
  740. diff -c WWW/TkWWW/Tcl/edit.tcl:1.16 WWW/TkWWW/Tcl/edit.tcl:1.17
  741. *** WWW/TkWWW/Tcl/edit.tcl:1.16    Mon Dec 13 20:06:36 1993
  742. --- WWW/TkWWW/Tcl/edit.tcl    Mon Dec 13 20:06:36 1993
  743. ***************
  744. *** 80,86 ****
  745.       {ispell_text .edit.main.t}
  746.       set button_list {
  747.       {generate "Generate Source" "tkW3EditGenerate"}
  748. !     {save "Save" "tkW3EditSave"}
  749.       {close "Close Window" "tkW3EditClose"}
  750.       }
  751.       pack append .edit \
  752. --- 80,86 ----
  753.       {ispell_text .edit.main.t}
  754.       set button_list {
  755.       {generate "Generate Source" "tkW3EditGenerate"}
  756. !     {save "Save As..." "tkW3EditSave"}
  757.       {close "Close Window" "tkW3EditClose"}
  758.       }
  759.       pack append .edit \
  760. ***************
  761. *** 340,346 ****
  762.   ## Save Generated HTML to a file
  763.   ## ********************
  764.   
  765. ! proc tkW3EditSave {} {
  766.       global fsBox
  767.       set list [split [tkW3NavigateGetAddress] ":"]
  768.       set type [lindex $list 0]
  769. --- 340,346 ----
  770.   ## Save Generated HTML to a file
  771.   ## ********************
  772.   
  773. ! proc tkW3EditSave {{no_prompt 0}} {
  774.       global fsBox
  775.       set list [split [tkW3NavigateGetAddress] ":"]
  776.       set type [lindex $list 0]
  777. ***************
  778. *** 351,356 ****
  779. --- 351,361 ----
  780.       if {"$type" == "file" && ![string match $name "//*"]} {
  781.       set fsBox(path) [file dirname $name]
  782.       set file [file tail $name]
  783. +     if {$no_prompt != 0} {
  784. +         tkW3EditClose
  785. +         tkW3EditOutputHTML $fsBox(path)/$file
  786. +         return
  787. +     }
  788.       }
  789.   
  790.       tkW3EditClose
  791. ***************
  792. *** 372,378 ****
  793.           }
  794.       }
  795.       if {[catch "open $filename w" file] != 0} {
  796. !         DLG:error . .error "couldn't open $filename for writing" "OK"
  797.           return
  798.       }
  799.       puts $file [.edit.main.t get 1.0 end]
  800. --- 377,383 ----
  801.           }
  802.       }
  803.       if {[catch "open $filename w" file] != 0} {
  804. !         tkW3OutputError "couldn't open $filename for writing"
  805.           return
  806.       }
  807.       puts $file [.edit.main.t get 1.0 end]
  808. ***************
  809. *** 576,578 ****
  810. --- 581,588 ----
  811.       DLG:set_entry_value .image_dialog 1 $tkW3HtPage(image.$i)
  812.       DLG:show . .image_dialog
  813.   }
  814. + ## *********************
  815. + ## Procedures dealing with RCS
  816. + ## *********************
  817. diff -c WWW/TkWWW/Tcl/file.tcl:1.14 WWW/TkWWW/Tcl/file.tcl:1.15
  818. *** WWW/TkWWW/Tcl/file.tcl:1.14    Mon Dec 13 20:06:37 1993
  819. --- WWW/TkWWW/Tcl/file.tcl    Mon Dec 13 20:06:37 1993
  820. ***************
  821. *** 49,54 ****
  822. --- 49,63 ----
  823.       DLG:show . .fsBox
  824.   }
  825.   
  826. + proc tkW3FileSave {} {
  827. +     tkW3EditOpen 0
  828. +     tkW3EditCopyText .f.msg .edit.main.t
  829. +     tkW3EditCopyTags .f.msg .edit.main.t
  830. +     tkW3EditConvertToHTML .edit.main.t
  831. +     tkW3EditSave 1
  832. + }   
  833.   proc tkW3FileSaveAs {} {
  834.       tkW3EditOpen 0
  835.       tkW3EditCopyText .f.msg .edit.main.t
  836. diff -c WWW/TkWWW/Tcl/help.tcl:1.10 WWW/TkWWW/Tcl/help.tcl:1.11
  837. *** WWW/TkWWW/Tcl/help.tcl:1.10    Mon Dec 13 20:06:37 1993
  838. --- WWW/TkWWW/Tcl/help.tcl    Mon Dec 13 20:06:37 1993
  839. ***************
  840. *** 19,25 ****
  841.   
  842.       DLG:toplevel . $w
  843.       DLG:draw_entries $w {To: Subject:}
  844. !     DLG:set_entry_value $w 1 "tk-www-bugs@athena.mit.edu"
  845.       DLG:set_entry_value $w 2 "Comments on tkWWW Version $tkW3Version"
  846.       
  847.       pack append $w \
  848. --- 19,25 ----
  849.   
  850.       DLG:toplevel . $w
  851.       DLG:draw_entries $w {To: Subject:}
  852. !     DLG:set_entry_value $w 1 "tk-www-bugs@mit.edu"
  853.       DLG:set_entry_value $w 2 "Comments on tkWWW Version $tkW3Version"
  854.       
  855.       pack append $w \
  856. ***************
  857. *** 48,62 ****
  858.   }
  859.   
  860.   proc tkW3HelpAddToMailingList {} {
  861. !     tkW3OutputSetMessage "Sending request to tk-www-request@athena.mit.edu"
  862. !     tkW3ConfigSendMail tk-www-request@athena.mit.edu "Subscribe" "Add to list"
  863. !     tkW3OutputSetMessage "Request sent to tk-www-request@athena.mit.edu"
  864.   }
  865.   
  866.   proc tkW3HelpRemoveFromMailingList {} {
  867. !     tkW3OutputSetMessage "Sending request to tk-www-request@athena.mit.edu"
  868. !     tkW3ConfigSendMail tk-www-request@athena.mit.edu "Remove" "Remove from list"
  869. !     tkW3OutputSetMessage "Request sent to tk-www-request@athena.mit.edu"
  870.   }
  871.   
  872.   proc tkW3HelpGetTopic {topic} {
  873. --- 48,62 ----
  874.   }
  875.   
  876.   proc tkW3HelpAddToMailingList {} {
  877. !     tkW3OutputSetMessage "Sending request to tk-www-request@mit.edu"
  878. !     tkW3ConfigSendMail tk-www-request@mit.edu "Subscribe" "Add to list"
  879. !     tkW3OutputSetMessage "Request sent to tk-www-request@mit.edu"
  880.   }
  881.   
  882.   proc tkW3HelpRemoveFromMailingList {} {
  883. !     tkW3OutputSetMessage "Sending request to tk-www-request@mit.edu"
  884. !     tkW3ConfigSendMail tk-www-request@mit.edu "Remove" "Remove from list"
  885. !     tkW3OutputSetMessage "Request sent to tk-www-request@mit.edu"
  886.   }
  887.   
  888.   proc tkW3HelpGetTopic {topic} {
  889. diff -c WWW/TkWWW/Tcl/hypertext.tcl:1.11 WWW/TkWWW/Tcl/hypertext.tcl:1.12
  890. *** WWW/TkWWW/Tcl/hypertext.tcl:1.11    Mon Dec 13 20:06:38 1993
  891. --- WWW/TkWWW/Tcl/hypertext.tcl    Mon Dec 13 20:06:38 1993
  892. ***************
  893. *** 146,152 ****
  894.   
  895.       if {$stack == "list" && $tkW3HtText(list.stack) == {}} {
  896.       tkW3HtBlankLines 2
  897. -     update idletasks
  898.       }
  899.   }
  900.   
  901. --- 146,151 ----
  902. diff -c WWW/TkWWW/Tcl/init.tcl:1.2 WWW/TkWWW/Tcl/init.tcl:1.3
  903. *** WWW/TkWWW/Tcl/init.tcl:1.2    Mon Dec 13 20:06:39 1993
  904. --- WWW/TkWWW/Tcl/init.tcl    Mon Dec 13 20:06:39 1993
  905. ***************
  906. *** 24,29 ****
  907. --- 24,32 ----
  908.   
  909.   catch "set tkW3ConfigFile $env(HOME)/.tkWWW-config"
  910.   set tkW3EditChar(translate) {}
  911. + set tkW3HtPage(base) ""
  912. + set tkW3HtPage(modified) 0
  913. + set tkW3HtPage(is_index) 0
  914.   
  915.   set tkW3ConfigHelpRoot http://tk-www.mit.edu:8001/tk-www/help
  916.   
  917. ***************
  918. *** 61,66 ****
  919. --- 64,70 ----
  920.       {"Open Link..." {DLG:show . .goto_dialog}}
  921.       {"Change directory..." tkW3FileChangeDirectory}
  922.       {}
  923. +         {"Save" tkW3FileSave}
  924.       {"Save as..." tkW3FileSaveAs 0}
  925.       {"Generate Source" tkW3EditGenerate}
  926.       {"Save Text..." tkW3FileSaveText}
  927. ***************
  928. *** 155,164 ****
  929.          {"Starting information sources" "tkW3HelpGetTopic sources" 0}
  930.          {}
  931.          {"Send mail to developer..." "DLG:show . .send_mail_dialog" 0}
  932. !        {"Subscribe to mailing list tk-www@athena.mit.edu"        "tkW3HelpAddToMailingList" }
  933.   
  934. -        {"Unsubscribe to mailing list tk-www@athena.mit.edu"            "tkW3HelpRemoveFromMailingList" }
  935.          {}
  936.          {"Using Help"      "tkW3HelpGetTopic using_help" 6}
  937.          {"Product Information" "tkW3HelpAbout" 0}
  938. --- 159,167 ----
  939.          {"Starting information sources" "tkW3HelpGetTopic sources" 0}
  940.          {}
  941.          {"Send mail to developer..." "DLG:show . .send_mail_dialog" 0}
  942. !        {"Subscribe to mailing list tk-www@mit.edu" "tkW3HelpAddToMailingList" }
  943. !        {"Unsubscribe to mailing list tk-www@mit.edu" "tkW3HelpRemoveFromMailingList" }
  944.   
  945.          {}
  946.          {"Using Help"      "tkW3HelpGetTopic using_help" 6}
  947.          {"Product Information" "tkW3HelpAbout" 0}
  948. ***************
  949. *** 175,180 ****
  950. --- 178,185 ----
  951.       {find "Find" {DLG:show . .find_dialog}}
  952.       {goto "Goto..." {DLG:show . .goto_dialog}}
  953.       {reload "Reload" tkW3NavigateReload}
  954. +     {save "Save" tkW3FileSave}
  955. +     {save_as "Save As..." tkW3FileSaveAs}
  956.       {generate "Generate Source" {tkW3EditGenerate}}
  957.       {clone "Clone" {tkW3NavigateClone [tkW3NavigateGetAddress]}}
  958.       {close_window "Close Window" "tkW3FileQueryCloseWindow"}
  959. ***************
  960. *** 484,490 ****
  961.   bind Text <Control-w> {# xf ignore me 9
  962.     catch "%W delete sel.first sel.last"}
  963.   bind Text <Control-y> {# xf ignore me 9
  964. !   %W insert insert "[tkW3EditGetSelection]"; %W yview -pickplace insert}
  965.   bind Text <Home> {# xf ignore me 9 
  966.     %W mark set insert 1.0; %W yview -pickplace insert}
  967.   bind Text <End> {# xf ignore me 9
  968. --- 489,495 ----
  969.   bind Text <Control-w> {# xf ignore me 9
  970.     catch "%W delete sel.first sel.last"}
  971.   bind Text <Control-y> {# xf ignore me 9
  972. !   %W insert insert "[tkW3EditSelectionGet]"; %W yview -pickplace insert}
  973.   bind Text <Home> {# xf ignore me 9 
  974.     %W mark set insert 1.0; %W yview -pickplace insert}
  975.   bind Text <End> {# xf ignore me 9
  976. ***************
  977. *** 530,539 ****
  978.   bind Entry <Control-l> {# xf ignore me 9
  979.     tk_entrySeeCaret %W}
  980.   bind Entry <Control-v> {# xf ignore me 9
  981. !   %W insert insert "[tkW3EditGetSelection]"; tk_entrySeeCaret %W}
  982.   bind Entry <Control-w> {# xf ignore me 9
  983.     catch "%W delete sel.first sel.last"; tk_entrySeeCaret %W}
  984.   bind Entry <Control-y> {# xf ignore me 9
  985. !   %W insert insert "[tkW3EditGetSelection]"; tk_entrySeeCaret %W}
  986.   bind Entry <2> {# xf ignore me 9
  987. !   %W insert insert "[tkW3EditGetSelection]"; tk_entrySeeCaret %W}
  988. --- 535,544 ----
  989.   bind Entry <Control-l> {# xf ignore me 9
  990.     tk_entrySeeCaret %W}
  991.   bind Entry <Control-v> {# xf ignore me 9
  992. !   %W insert insert "[tkW3EditSelectionGet]"; tk_entrySeeCaret %W}
  993.   bind Entry <Control-w> {# xf ignore me 9
  994.     catch "%W delete sel.first sel.last"; tk_entrySeeCaret %W}
  995.   bind Entry <Control-y> {# xf ignore me 9
  996. !   %W insert insert "[tkW3EditSelectionGet]"; tk_entrySeeCaret %W}
  997.   bind Entry <2> {# xf ignore me 9
  998. !   %W insert insert "[tkW3EditSelectionGet]"; tk_entrySeeCaret %W}
  999. diff -c WWW/TkWWW/Tcl/navigate.tcl:1.25 WWW/TkWWW/Tcl/navigate.tcl:1.26
  1000. *** WWW/TkWWW/Tcl/navigate.tcl:1.25    Mon Dec 13 20:06:40 1993
  1001. --- WWW/TkWWW/Tcl/navigate.tcl    Mon Dec 13 20:06:40 1993
  1002. ***************
  1003. *** 182,188 ****
  1004.   
  1005.       # Load the page and get the return code
  1006.       # If the return code contains "Error" signal an error
  1007. !     if [catch "HtLoad $page_value" return_value] {
  1008.       # Ooops there's an error
  1009.       # If it is a "Page Not Found" error create new page
  1010.   
  1011. --- 182,188 ----
  1012.   
  1013.       # Load the page and get the return code
  1014.       # If the return code contains "Error" signal an error
  1015. !     if [catch [list HtLoad $page_value] return_value] {
  1016.       # Ooops there's an error
  1017.       # If it is a "Page Not Found" error create new page
  1018.   
  1019. diff -c WWW/TkWWW/Tcl/output.tcl:1.16 WWW/TkWWW/Tcl/output.tcl:1.17
  1020. *** WWW/TkWWW/Tcl/output.tcl:1.16    Mon Dec 13 20:06:40 1993
  1021. --- WWW/TkWWW/Tcl/output.tcl    Mon Dec 13 20:06:40 1993
  1022. ***************
  1023. *** 198,200 ****
  1024. --- 198,204 ----
  1025.       $w configure -state normal
  1026.       }
  1027.   }
  1028. + proc tkW3OutputError {message} {
  1029. +     DLG:msg . .error_dialog $message error "OK"
  1030. + }
  1031. diff -c WWW/TkWWW/Tcl/telnet.tcl:1.5 WWW/TkWWW/Tcl/telnet.tcl:1.6
  1032. *** WWW/TkWWW/Tcl/telnet.tcl:1.5    Mon Dec 13 20:06:41 1993
  1033. --- WWW/TkWWW/Tcl/telnet.tcl    Mon Dec 13 20:06:41 1993
  1034. ***************
  1035. *** 30,37 ****
  1036.           append body_text "Log in as \"$user\"\n"
  1037.       }
  1038.       tkW3OutputSetAddress $page {}
  1039. !     tkW3NavigatePreface $body_text "Press here to connect" \
  1040. !         {Connecting...} \
  1041.           [format "tkW3Telnet \{%s\} \{%s\} \{%s\}" $command $host $port]
  1042.       }
  1043.   }
  1044. --- 30,36 ----
  1045.           append body_text "Log in as \"$user\"\n"
  1046.       }
  1047.       tkW3OutputSetAddress $page {}
  1048. !     tkW3NavigatePreface $body_text "telnet connection" \
  1049.           [format "tkW3Telnet \{%s\} \{%s\} \{%s\}" $command $host $port]
  1050.       }
  1051.   }
  1052.